package com.wangzhixuan.service;

import java.io.IOException;
import java.text.ParseException;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.wangzhixuan.commons.scan.MyException;
import com.wangzhixuan.commons.utils.PageInfo;
import com.wangzhixuan.model.BaseInfo;
import com.wangzhixuan.model.vo.AchievementsVo;
import com.wangzhixuan.model.vo.BaseInfoVo;
import com.wangzhixuan.model.vo.DescribeVo;
import com.wangzhixuan.model.vo.ExcelJobInfomationVo;
import com.wangzhixuan.model.vo.ResultVo;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-07-19
 */
public interface IBaseInfoService extends IService<BaseInfo> {
	
	void selectDataGrid(PageInfo pageInfo);

	boolean insertBaseInfo(BaseInfoVo baseInfoVo) throws MyException;

	List<Map<String, Object>> selectList(Integer userId, String statusQuery,
			String personnelQuery,String today)throws ParseException;

	Map<String, Object> selectWorkDetail(Integer workId,Integer userId) throws Exception;

	void insertDescribe(BaseInfo baseInfo, DescribeVo describeVo);

	List<Map<String, Object>> selectAddressList();
	
	Map<String, Object> selectAchievementsDetail(AchievementsVo achievementsVo);
	
	void sendPush(Integer userId,Integer workId);
	
	String selectWord(Integer workId,String getRootPath,String getbaseUrl) throws IOException, Exception;
	
	Integer selectAllBaseInfo(BaseInfoVo baseInfoVo);
	
	BaseInfo selectGroup(String groupId);
	
	List<Map<String,Object>> selectUserGroup(Integer userId);
	
	List<Map<String,Object>> selecListtByJobCategory(String jobCategory);
	
}
